<?php
class Logout extends Controller{
    function index(){
        $this->session->sess_destroy();
        $home = base_url();
        redirect($home);
    }
}